package com.hopes.bizz.hazard.alarm.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/12/5 15:37
 * @Description:
 */
@Data
public class AlarmAnalysisRequest implements Serializable {
    private static final long serialVersionUID = 8673555354050317185L;

    /**
     * 报警因子
     */
    private List<Long> monitorFactorIds;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date month;

    private Integer year;
}
